<?php
/**
 * Created by PhpStorm.
 * User: fengzi
 * Date: 2019/5/29
 * Time: 17:18
 */

namespace app\vehicle\model;
use think\Model;

class UserIntegralLog extends Model{
    public function user(){
        return $this->hasOne('user', 'id', 'user_id')->bind([
            'nickname'=>'nick_name'
        ]);
    }

}